package org.flint92.nacos.client.feign.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author flint92
 */
@FeignClient("nacos-server")
public interface HelloClient {

  @GetMapping("/hello")
  String hello(@RequestParam(name = "name") String name);
}
